//
//  HMComposeToolbar.h
//  黑马微博-wzy
//
//  Created by Mac on 2017/2/13.
//  Copyright © 2017年 Mac. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum{
    HMComposeToolbarButtonTypeCamera,//照相机
    HMComposeToolbarButtonTypePicture,//相册
    HMComposeToolbarButtonTypeMention,//提到@
    HMComposeToolbarButtonTypeTrend,//话题
    HMComposeToolbarButtonTypeEmotion,//表情
} HMComposeToolbarButtonType;

//代理
@class HMComposeToolbar;

@protocol HMComposeToolbarDelete <NSObject>

@optional
- (void)composeTool:(HMComposeToolbar *)toolbar didClickedButton:(HMComposeToolbarButtonType)buttonType;

@end


@interface HMComposeToolbar : UIView

@property (nonatomic, weak) id<HMComposeToolbarDelete> delegate;

//是否要显示表情按钮
@property (nonatomic, assign, getter = isShowEmotionButton) BOOL showEmotionButton;

@end
